<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        .form-control{
            width:200px;
        }
    </style>
</head>
<body>
    <div class="container">
        
        <form action="/doAdd" method="POST" role="form">
            <legend>添加用户</legend>
        
            <div class="form-group">
                <label for="name">用户名</label>
                <input type="text" name="name" class="form-control" id="name" placeholder="请输入用户名">
            </div>
            <div class="form-group">
                <label for="res">密码</label>
                <input type="text" id="res" name="pwd" class="form-control" id="" placeholder="请输入密码">
            </div>
            <button type="submit" class="btn btn-primary">提交</button>
        </form>
        
    </div>
</body>
</html>